Abstract Syntax Tree Based Clone Detection for Java Projects
نویسندگان
چکیده
منابع مشابه
Clone Detection Using Abstract Syntax Trees
Existing research suggests that a considerable fraction (5-10%) of the source code of large-scale computer programs is duplicate code (“clones”). Detection and removal of such clones promises decreased software maintenance costs of possibly the same magnitude. Previous work was limited to detection of either nearmisses differing only in single lexems, or near misses only between complete functi...
متن کاملImproving Abstract Syntax Tree based Source Code Change Detection
This document sets the direction for my diploma thesis on the subject how applying similarity measures might improve abstract syntax tree based source code change detection. It defines the main tasks, as well as the envisioned outcome of my work and serves as tentative schedule by specifying work packages, i. e. Milestones, and associated deadlines. The remainder of this document is organized a...
متن کاملMethod-Level Code Clone Detection on Transformed Abstract Syntax Trees Using Sequence Matching Algorithms
Current research shows that a large fraction of source code in many large-scale applications contains code clones [4]. The existence of code clones can introduce many instabilities within a software application, such as unnecessary duplicates. These instabilities can over-complicate routine maintenance tasks, since a change in one method may lead to changes across many methods. In addition, unn...
متن کاملGenerator of efficient strongly typed abstract syntax trees in Java
Abstract syntax trees are a very common data-structure in language related tools. For example compilers, interpreters, documentation generators, and syntax-directed editors use them extensively to extract, transform, store and produce information that is key to their functionality. We present a Java back-end for ApiGen, a tool that generates implementations of abstract syntax trees. The generat...
متن کاملClone Detection by Comparing Abstract Memory States
In this paper, we propose a new semantic clone detection technique by comparing programs’ abstract memory states, which are computed by a semantic-based static analyzer. Our experimental study using three large-scale open source projects shows that our technique can detect semantic clones that existing syntacticor semantic-based clone detectors miss. Our technique can help developers identify i...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IOSR Journal of Engineering
سال: 2012
ISSN: 2278-8719,2250-3021
DOI: 10.9790/3021-021234547